//
// Created by ct on 2021/11/5.
//

#include <vector>
#include "stringstream_study.h"
void exec_main(){
    string s(" -4193 with words");
    istringstream recond(s);
    string number;

    while(recond>>number)
    {
        // char first = number[0];
       if(number[0]=='-'||number[0]=='+' ){
        int  x =   std::stoi(number);
        if (x > INT32_MAX) {
            return;
        } else if(x < INT32_MIN){
               return;
        } else  {
            return;
        }

       }

    }



}